<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ECharts Web Component</title>
    <!-- 引入 ECharts -->
    <script src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script>
    <script src="./components/echart_com.js"></script>
</head>
<body>
    <div style="width: 400px;height: 300px;">
        <chart-component></chart-component>
    </div>

</body>
</html>